package com.zz.springboot.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Table(name = "sys_role")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysRole {
    @Id
    @Column(name = "id")
    private Integer id;

    /**
     * 角色编号
     */
    @Column(name = "role_code")
    private String roleCode;

    /**
     * 角色名称
     */
    @Column(name = "role_name")
    private String roleName;

}